@echo off
del *.o

g++ -fno-rtti -O3 -s -c converter.cpp database.cpp database_serializable.cpp date_time.cpp exceptions.cpp file_system.cpp general_date_time.cpp global_variables.cpp integer.cpp logger.cpp math_parser.cpp number.cpp record_set.cpp sql.cpp str.cpp useful_functions.cpp watch.cpp win_process.cpp win_thread.cpp xml_node.cpp xml_parser.cpp -fopenmp

REM to create one single static library use the following command:
REM ar cr my_library.a *.o

REM to see the coverage, use the following compile parameters:
REM g++ -O2 -Os -s -c -fprofile-arcs -ftest-coverage *.cpp
REM and then execute the program as usual and test it, then close the application
REM gcov main.cpp

REM to profile the code use:
REM g++ -O2 -Os -s -c -pg *.cpp
REM execute the program
REM gprof a.out
